<div class="form-group">
  <%= pref_with_select_field('prefs', "due_style", [[t('models.preference.due_styles')[0],Preference.due_styles[:due_in_n_days]],[t('models.preference.due_styles')[1],Preference.due_styles[:due_on]]]) %>
</div>
<div class="form-group">
  <%= pref_with_select_field('prefs', "show_completed_projects_in_sidebar") %>
</div>
<div class="form-group">
  <%= pref_with_select_field('prefs', "show_hidden_projects_in_sidebar") %>
</div>
<div class="form-group">
  <%= pref_with_select_field('prefs', "show_hidden_contexts_in_sidebar") %>
</div>
<div class="form-group">
  <%= pref_with_select_field('prefs', "show_project_on_todo_done") %>
</div>
<div class="form-group">
  <%= pref_with_text_field('prefs', 'staleness_starts') %>
</div>
<div class="form-group">
  <%= pref_with_text_field('prefs', 'review_period') %>
</div>
<div class="form-group">
  <%= pref_with_text_field('prefs', 'show_number_completed') %>
</div>
<div class="form-group">
  <%= pref_with_text_field('prefs', 'refresh') %>
</div>
<div class="form-group">
  <%= pref_with_check_box_field('prefs', "verbose_action_descriptors") %>
</div>
<div class="form-group">
  <%= pref_with_text_field('prefs', "mobile_todos_per_page") %>
</div>
<div class="form-group">
  <%= pref_with_text_field('prefs', "sms_email") %>
</div>
<div class="form-group">
  <%= pref('prefs', "sms_context") { select('prefs', 'sms_context_id', current_user.contexts.map{|c| [c.name, c.id]}, {}, class: "form-control") } %>
</div>
<div class="form-group">
  <%= pref_with_select_field('prefs', 'theme', [[t('models.preference.themes.black'), Preference.themes[:black]], [t('models.preference.themes.light_blue'), Preference.themes[:light_blue]]]) %>
</div>
